package de.kimera.model;

import java.io.File;

import de.kimera.api.IEmail;
import de.kimera.utils.Utils;

public class Email implements IEmail{
	private String from;
	private String password;
	private String to;
	private String cc;
	private String subject;
	private String text;
		
	private boolean isPasswordSaved;
	private File pdfAttachment;
	
	public Email(){
		//set default values
		to 		= Utils.EMAIL_DEFAULT_TO;
		cc 		= Utils.EMAIL_DEFAULT_CC;
		subject = Utils.EMAIL_DEFAULT_SUBJECT;
		text 	= Utils.EMAIL_DEFAULT_TEXT;
		pdfAttachment = new File(Utils.EMAIL_DEFAULT_REPORTPATH);
	}
	
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getCc() {
		return cc;
	}
	public void setCc(String cc) {
		this.cc = cc;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public boolean isPasswordSaved() {
		return isPasswordSaved;
	}
	public void setPasswordSaved(boolean isPasswordSaved) {
		this.isPasswordSaved = isPasswordSaved;
	}
	public File getPdfAttachment() {
		return pdfAttachment;
	}
	public void setPdfAttachment(File pdfAttachment) {
		this.pdfAttachment = pdfAttachment;
	}
	
	public String getText() {
		return text;
	}
	
	public void setText(String text) {
		this.text = text;
	}	
}
